-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typing rs
in the terminal does not restart the dev environment app
#2319
Comments
Hey @b-zurg, I've encountered this issue in a project, and couldn't find any solution to fix this problem. I think it's definitely a webpack 5 bug since I've just updated to that version and that's when the problem occured. I've nonetheless managed to re-enable the "scripts": {
"start": "cross-env DEBUG='electron-forge:*' NODE_ENV=development electron-forge start --inspect-electron",
}, (cross-env is used to enable windows devs to use the same config as linux users) I know it's not a good solution and that it might not work for you, but please give it a try while this is being worked on. |
@ltabis setting the |
So maybe this is related, but on my Mac, I'm seeing this same issue not only with Electron Forge but also with nodemon... maybe related? |
An even more minimal workaround (which still works for me) is to scope the DEBUG='electron-forge:plugin:webpack' npm start |
After a very deep dive, I've figured out that this is caused by Filed an upstream bug and PR for this: sindresorhus/ora#209 |
Preflight Checklist
Issue Details
6.0.0-beta.57
v11.3.0
Macos big sur latest
Expected Behavior
I expect to be able to run electron forge and type in the terminal
rs
and have the entire app restart.Actual Behavior
The app does not restart when I type in
rs
Additional Information
I think this could be related to the recent changes in the webpack plugin upgrade to webpack version 5
The text was updated successfully, but these errors were encountered: